STEP 10: With the hour value we can use the provided functions to change the scene on the stage. Check the code for get_time_of_day(). What does this function return?

  • In LOGIC, go to and drag Call w/ Parameter into Variable to the bottom of main().
  • Change my_var to time_of_day. Change the function from my_function() to get_time_of_day().
  • Inside the parentheses, change the parameter from my_parameter to my_hour.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)